#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
	int findKthLargest(vector<int>& nums, int k) {

		sort(nums.begin(), nums.end(), greater<int>());
		return nums[k - 1];

	}
};